
using System;
using System.Data; 
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Web.Caching;
using Tathata.Common.BLL.Entities;
using Tathata.Common.BLL.Managers;
using System.Text;
using Tathata.Common.Utils;
using Tathata.Common.BLL.Enums;
using Tathata.Common;
using Tathata.Common.BLL.EntityCollections;
namespace Tathata.Web
{
    public partial class AccountPage : BaseNopPage
    {
        private void ApplyLocalization()
        {
            pnlCustomerInfo.HeaderText = GetLocaleResourceString("Account.CustomerInfo");
            pnlChangePassword.HeaderText = GetLocaleResourceString("Account.ChangePassword");
        }
        
        protected void Page_Load(object sender, EventArgs e)
        {
            CommonHelper.EnsureNonSSL();

            this.ApplyLocalization();

            Response.CacheControl = "private";
            Response.Expires = 0;
            Response.AddHeader("pragma", "no-cache");

            if (NopContext.Current.User == null)
                Response.Redirect("~/Login.aspx");
        }
    }
}